<div class="regimeSalarios view">
<h2><?php  __('Regime Salario');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $regimeSalario['RegimeSalario']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $regimeSalario['RegimeSalario']['name']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Regime Salario', true), array('action' => 'edit', $regimeSalario['RegimeSalario']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Regime Salario', true), array('action' => 'delete', $regimeSalario['RegimeSalario']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $regimeSalario['RegimeSalario']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Regime Salarios', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Regime Salario', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Curriculos', true), array('controller' => 'curriculos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Curriculo', true), array('controller' => 'curriculos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Experiencias', true), array('controller' => 'experiencias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Experiencia', true), array('controller' => 'experiencias', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Curriculos');?></h3>
	<?php if (!empty($regimeSalario['Curriculo'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Objectivo'); ?></th>
		<th><?php __('Salario'); ?></th>
		<th><?php __('Moeda Id'); ?></th>
		<th><?php __('Regime Salario Id'); ?></th>
		<th><?php __('Emprego Alvo'); ?></th>
		<th><?php __('Mudar Area'); ?></th>
		<th><?php __('Url Upload'); ?></th>
		<th><?php __('Url Foto'); ?></th>
		<th><?php __('Url Video'); ?></th>
		<th><?php __('Copy Paste'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($regimeSalario['Curriculo'] as $curriculo):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $curriculo['id'];?></td>
			<td><?php echo $curriculo['name'];?></td>
			<td><?php echo $curriculo['objectivo'];?></td>
			<td><?php echo $curriculo['salario'];?></td>
			<td><?php echo $curriculo['moeda_id'];?></td>
			<td><?php echo $curriculo['regime_salario_id'];?></td>
			<td><?php echo $curriculo['emprego_alvo'];?></td>
			<td><?php echo $curriculo['mudar_area'];?></td>
			<td><?php echo $curriculo['url_upload'];?></td>
			<td><?php echo $curriculo['url_foto'];?></td>
			<td><?php echo $curriculo['url_video'];?></td>
			<td><?php echo $curriculo['copy_paste'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'curriculos', 'action' => 'view', $curriculo['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'curriculos', 'action' => 'edit', $curriculo['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'curriculos', 'action' => 'delete', $curriculo['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $curriculo['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Curriculo', true), array('controller' => 'curriculos', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Experiencias');?></h3>
	<?php if (!empty($regimeSalario['Experiencia'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Curriculo Id'); ?></th>
		<th><?php __('Empresa Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Salario'); ?></th>
		<th><?php __('Moeda Id'); ?></th>
		<th><?php __('Regime Salario Id'); ?></th>
		<th><?php __('Area Id'); ?></th>
		<th><?php __('Data Inicio'); ?></th>
		<th><?php __('Data Fim'); ?></th>
		<th><?php __('Trabalho Actual'); ?></th>
		<th><?php __('Descricao'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($regimeSalario['Experiencia'] as $experiencia):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $experiencia['id'];?></td>
			<td><?php echo $experiencia['curriculo_id'];?></td>
			<td><?php echo $experiencia['empresa_id'];?></td>
			<td><?php echo $experiencia['name'];?></td>
			<td><?php echo $experiencia['salario'];?></td>
			<td><?php echo $experiencia['moeda_id'];?></td>
			<td><?php echo $experiencia['regime_salario_id'];?></td>
			<td><?php echo $experiencia['area_id'];?></td>
			<td><?php echo $experiencia['data_inicio'];?></td>
			<td><?php echo $experiencia['data_fim'];?></td>
			<td><?php echo $experiencia['trabalho_actual'];?></td>
			<td><?php echo $experiencia['descricao'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'experiencias', 'action' => 'view', $experiencia['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'experiencias', 'action' => 'edit', $experiencia['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'experiencias', 'action' => 'delete', $experiencia['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $experiencia['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Experiencia', true), array('controller' => 'experiencias', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
